package com.customization.test.demo.util;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.io.File;

/**
 * 将文件上传到影像系统
 */
public class UploadImageSystemUtils {

    private static final Log logger = LogFactory.getLog(UploadImageSystemUtils.class);



    public Boolean DeleteFile(File Allfile) {
        File[] allContents = Allfile.listFiles();
        if (allContents != null) {
            for (File file : allContents) {
                DeleteFile(file);
            }
        }
        return  Allfile.delete();
    }
}
